<%! 
from templates.filters import thumbnail,describe,gravatar,nickname
%>
<%inherit file="main.html"/>
<%block name='content'>
	<section>
		%if things:
			<h2>
				%if not other_user_id:
					Things other people ${type}
				%else:
					Things
					%if user_id==other_user_id:
						you ${type}
					%else:
						${other_user_id|nickname} 
						%if type=="have":
							has
						%else:
							wants
						%endif
					%endif
				%endif
			</h2>
			<%include file="things.ajax"/>
		%else:
			<h2>Nothing to speak of</h2>
		%endif
	</section>
</%block>